package com.gooluke.shorten.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;

@ApiModel(description = "短链更新请求参数")
@Data
public class UpdateShortUrlRequest {
    @ApiModelProperty(value = "过期时间", example = "2024-12-31T23:59:59")
    private Date expireTime;

    @ApiModelProperty(value = "状态: 1-启用 0-禁用")
    private Integer status;

    @Size(max = 128, message = "域名长度不能超过128个字符")
    @ApiModelProperty(value = "自定义域名", example = "s.example.com")
    private String domain;

}